package no.monsen.monsenservice.impl;

import java.io.Serializable;

/**
 * 
 * @author geir.k.wollum
 * 03.03.2008
 */
public class MonsenFact implements Serializable {

    private static final long serialVersionUID = 6490782410697560587L;
    private int id;
    private String fact;
    private int clientID;

    public MonsenFact() {
    }

    public MonsenFact(int id, String fact) {
        this.id = id;
        this.fact = fact;
    }

    public MonsenFact(int id, String fact, int clientID) {
        this.id = id;
        this.fact = fact;
        this.clientID = clientID;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setFact(String fact) {
        this.fact = fact;
    }

    public void setClientID(int clientID) {
        this.clientID = clientID;
    }

    public int getId() {
        return this.id;
    }

    public String getFact() {
        return this.fact;
    }

    public int getClientID() {
        return this.clientID;
    }

    @Override
    public String toString() {
        return getId() + " " + getFact() + " " + getClientID();
    }
}
